package 继承.demo1;

public class Animal {
    public void eat(){
        System.out.println("在吃饭");
    }
    public void drink(){
        System.out.println("在喝水");
    }

}
